<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>仿oschina动弹框</title>
    <style>
        /*去除margin padding,字体横向的方法*/
        * {
            margin: 0;
            padding: 0;
        }
        /*设置字体*/
        body, table, input, textarea, select, button {
            font-family: "Microsoft YaHei", Verdana, sans-serif, "SimSun";
        }
        /*简易动弹提交样式*/
        #DynaInfo form {
            width:280px;
            margin: 0 0 10px 0;
            border: 1px solid #40AA53;
            background: #40AA53;
            position: relative;
            height: 40px;
        }
        #DynaInfo textarea {
            float: left;
            width: 233px;
            height: 36px;
            padding: 2px;
            resize: none;
            overflow: auto;
            border: 0;
            background: #FFF;
            font-size: 9pt;
            -webkit-appearance: none;
            border-radius: 0;
        }
        #DynaInfo button {
            float: right;
            width: 37px;
            height: 40px;
            margin-right: 3px;
            font-size: 10pt;
            border: 0;
            background: #40AA53;
            color: #FFF;
        }
        #DynaInfo button:hover {
            color: #FF0;
            cursor: pointer;
        }
    </style>
</head>
<body>
<div id="DynaInfo">
    <div id='tweet_error_msg' style='display:none;margin:0 0 10px 0;color:#A00;'></div>
    <form id="TForm" action="/action/tweet/pub"
          onkeydown="if((event.metaKey || event.ctrlKey)&&event.keyCode==13){submitMe();}" method='POST'>
        <input type='hidden' name='user_code' value='pmHLQrCzh47Ilx7KDXn7zzSP0y5Nu59vN8fHH30L'/>
        <input type='hidden' name='user' value='2348263'/>
        <textarea name='msg' placeholder='今天你动弹了吗？'></textarea>
        <button type='submit'>动弹</button>
        <div class='clear'></div>
    </form>
</div>
</body>
</html>